<#assign _filecomment_namesfx>.java</#assign>
<#include "common.ftl">
${_filecomment}
package ${_daopck};
public class ${_cname} {

	<#list obj.props as prop>
		/**  */
	private ${prop.type} ${prop.name};
		
	</#list>
	
	@Override
    	public String toString() {
        StringBuffer sb = new StringBuffer();
        sb.append("${_cname}{")
        <#list obj.props as prop>
    	<#if prop_index = 0>
        .append("  ${prop.name}=").append(${prop.name})
        <#else>
        .append(", ${prop.name}=").append(${prop.name})
        </#if>
        </#list>
	.append('}');
	return sb.toString();
	}
	
	    // -------------------------------- Gettter/Setter-------------------------------- //
	<#list obj.props as prop>
		
	public ${prop.type} get${prop.name?cap_first}(){
		return ${prop.name};
	}

	public void set${prop.name?cap_first}(${prop.type} ${prop.name}){
		this.${prop.name} = ${prop.name};
	}
		
	</#list>
}